package com.dy.sucetity.constant;

/**
 * @Author: ding-yu
 * @Date: 2022/5/19 9:08
 * @Desctiption: (描述)
 */
public enum ResultEnum {
    SUCCESS(0, "可以同行"),
    PASSWORD_PAST_DUE(1, "密码已过期"),
    NOT__SUCCESS(2, "表示未在可同行时间段"),
    ERRO(3, "表示其它错误"),
    PASSWORD_ERRO(4, "密码错误");


    private Integer code;
    private String message;

    private ResultEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return this.code;
    }

    public String getMessage() {
        return this.message;
    }
}
